package pojo

type person struct {
	name string
	age  int
}

func NewPerson(name1 string, age1 int) *person {

	return &person{
		name: name1,
		age:  age1,
	}
}

func (p *person) GetAge() int {
	return p.age
}
func (p *person) ssetAge() int {
	return p.age
}
func (p *person) SetAge(age int) {
	//做一些验证age的操作
	p.age = age
}

func dd() {

}
